package domain;

public class User {

	private long uid;
	private String email;
	private String password;
	private String firstName;
	private String lastName;
	private String imageURL;
	private String summary;
	private String city;
	private String tel;
	private String title;
	private double rating;
	private long popularity;
	private boolean available;
	private boolean real;	
	
	public User(long uid, String email, String password, String firstName,String lastName,String imageURL, String summary, String city, String tel, boolean isAvailable)
	{
		this.uid=uid;
		this.email=email;
		this.password=password;
		this.firstName=firstName;
		this.lastName=lastName;
		this.imageURL=imageURL;
		this.summary=summary;
		this.city=city;
		this.tel=tel;
		this.available=isAvailable;
	}
	
	public String getImageURL() {
		return imageURL;
	}

	public void setImageURL(String imageURL) {
		this.imageURL = imageURL;
	}

	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getFirstName()
	{
		return this.firstName;
	}
	public String getName()
	{
		return this.firstName + " " + this.lastName;
	}
	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public boolean isAvailable() {
		return available;
	}

	public void setAvailable(boolean available) {
		this.available = available;
	}
	
}
